package com.hnevc.huangmeijuan;

public class Example02 {
    public static void main(String[] args) {

    }
}
 class Animal{
   final String name="狗";

  public void shout(){
        System.out.println("动物发出的叫声...");
    }

}
class Dog extends Animal{
    @Override
    public void shout() {
        super.shout();
    }
}

